package ${basePackage}.${codePackage}.${entityPackage};

import javax.persistence.*;
<%
   if(hibernate){
        %>
@Table(name = "${tableName}")
@Entity
<%
}
%>
public class ${entityName} implements java.io.Serializable{
       <%
            for(item in entityDtoList){
        %>
    private ${item.classTypeName} ${item.name};

<%
        }
        %>

<%
        for(item in entityDtoList){
        %>
        <%  if(item.hibernates) {%>
        @Column(name ="${item.sname}")
        <% } %>
        public ${item.classTypeName} ${item.nameM}(){
            return ${item.name};
        }

        public void ${item.setnameM}(${item.classTypeName} ${item.name}){
            this.${item.name} = ${item.name};
        }

        <% } %>
}